package com.woniuxy.educationplatform.service;

import com.woniuxy.educationplatform.bean.TeacherBean;

import java.util.List;

public interface ITeacherService {
    /**
     * 查询所有老师
     * @return list
     */
    List<TeacherBean> findAll();

    /**
     * 更新老师
     * @return
     */
    int update(TeacherBean teacherBean);

    int del(Long id);

    List<TeacherBean> findByCondition(TeacherBean teacherBean);

    String[] getProject();

    String[] getTeacher();

    int add(TeacherBean teacherBean);

    TeacherBean findById(Long id);
}
